<template>
  <div class="usesale">
    <div class="operateTop">
      <div class="icon-tubiao"></div>
      <div class="text">经营收益<i>33532.63</i>万元</div>
    </div>
    <div class="operateMiddle">
      <dv-border-box1>
        <div class="operate-main">
          <div class="detail">
            <div class="money"><i>28839.38</i>万元</div>
            <div class="desc">出租收益</div>
          </div>
          <div class="detail">
            <div class="money"><i>2489.19</i>万元</div>
            <div class="desc">自营合作收益</div>
          </div>
          <!-- <div class="detail">
            <div class="money"><i>2121.00</i>万元</div>
            <div class="desc">长租公寓收益</div>
          </div> -->
        </div>
      </dv-border-box1>
    </div>
    <div class="operateBottom">
      <div class="operate-main">
        <div class="operateLeft">
          <div class="icon-tubiao"></div>
          <div class="text">
            <div class="top">出租率</div>
            <div class="bottom">96.77%</div>
          </div>
        </div>
        <div class="operateRight">
          <div class="icon-tubiao"></div>
          <div class="text">
            <div class="top">租金收款率</div>
            <div class="bottom">98.09%</div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import {ref} from 'vue'
</script>

<style lang="scss" scoped>
:deep(.dv-border-box-1) {
  display: flex !important;
}
.usesale {
  margin-top: 5px;
  height: 90%;
  background-color: rgba(37, 62, 112, 0.5);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
  .operateTop {
    flex: 1;
    display: flex;
    align-items: center;
    .icon-tubiao {
      margin-right: 30px;
      background-image: url(../../../asset/images/icon1.png);
      background-repeat: no-repeat;
      background-size: cover;
      width: 80px;
      height: 80px;
    }
    .text {
      font-size: 20px;
      background-color: rgba(92, 163, 224, 0.2);
      padding: 10px 20px;
      display: inline-block;
      background: linear-gradient(
        90deg,
        rgba(92, 163, 224, 0.3) 0%,
        rgba(92, 163, 224, 0.5) 50%,
        rgba(92, 163, 224, 0.3) 100%
      );
      border-radius: 15px;
      text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1), -1px -1px 0 rgba(0, 0, 0, 0.1),
        2px 2px 2px rgba(0, 0, 0, 0.2);

      i {
        font-size: 26px;
        margin: 0 10px;
        color: rgb(62, 138, 244);
      }
    }
  }
  .operateMiddle {
    flex: 1;
    width: 100%;
    padding: 0 30px;
    .operate-main {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: space-between;
      .detail {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        .money {
          font-size: 16px;
          color: #d6e5f7;
          i {
            font-size: 20px;
            margin: 0 10px;
            color: rgb(62, 138, 244);
          }
        }
        .desc {
          color: #d6e5f7;
          font-size: 18px;
        }
      }
    }
  }
  .operateBottom {
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    .operate-main {
      width: 87%;
      height: 100%;
      display: flex;
      justify-content: space-between;
      .operateLeft,
      .operateRight {
        flex: 1;
        display: flex;
        align-items: center;
        .icon-tubiao {
          display: flex;
          flex-direction: column;
          background-image: url(../../../asset/images/icon1.png);
          background-repeat: no-repeat;
          background-size: cover;
          width: 80px;
          height: 80px;
          
        }
        .text{
            .top {
              font-size: 18px;
              color: #d6e5f7;
            }
            .bottom {
              font-size: 26px;
              color: #d6e5f7;
            }
          }
      }
    }
  }
}
</style>
